home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (4th Edition)
/
The Business Master - 4th Edition.iso
/
files
/
business
/
research
/
install.bat
next >
Wrap
DOS Batch File
|
1989-08-10
|
3KB
|
98 lines
REM UPGRADE.BAT: Copyright (c) 1987 by R A Kelly
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C is
echo designated as "C:", not "C". Make absolutely sure that you have designate
echo your hard disk correctly.
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
echo ReSearch requires a minimum of 300K of hard disk space.
echo .
echo .
echo If you have any doubt that your hard disk has at least 300K of free space,
echo press Control-C to abort this installation; otherwise,
pause
echo off
cls
%2
cd\
md MANAGEX
md \MANAGEX\DB
echo off
cls
cd\MANAGEX
if exist upgrd.exe erase upgrd.exe
if not exist research.exe goto SKIPBACK
erase l*.hlp
echo off
cls
echo .
echo .
echo Before you go through the installation, ensure that you have current
echo backups of all the ReSearch data files you may used prior to today. If you
echo do not have such backups, press Control-C and make them; otherwise,
pause
:SKIPBACK
copy %1rsch.exe
if exist %1upgrd.exe copy %1upgrd.exe
cls
if exist research.exe erase research.exe
if exist editl.exe erase editl.exe
if exist upgrd.com erase upgrd.com
if exist research.doc erase research.doc
if exist record.fmt erase record.fmt
if exist RS.bat erase RS.bat
rsch
erase rsch.exe
cls
upgrd %2
erase upgrd.*
if exist research.lbm copy research.lbm %2\managex\db
if exist 1sttime.fyl erase 1sttime.fyl
cls
echo .
echo The instructions must be printed.
echo .
echo .
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 20 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
if exist RESEARCH.DOC type RESEARCH.DOC >prn
cls
echo The documentation has been printed.
echo .
pause
:SKIP
echo off
cls
echo .
echo VERY IMPORTANT!!
echo .
echo .
echo Be sure to save the disk(s) containing this version of ReSearch. You
echo may need them at some time in the future if any hard disk files are lost.
echo .
echo .
pause
echo off
cls
goto END
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo examples: B:INSTRSCH B: C: will install RESEARCH from drive B to drive C:
echo A:INSTRSCH A: D: will install RESEARCH from drive A to drive D:
echo .
echo PLEASE TRY AGAIN
:END